package com.study.jvm;

import java.util.Calendar;

public class EscapeTest {



    public static void main(String[] args) {

        Long time1 = Calendar.getInstance().getTimeInMillis();

        for (int i = 0; i < 100000; i++) {
            m1(i);
        }
        Long time2 = Calendar.getInstance().getTimeInMillis();

        System.out.println("消耗时间为" + (time2 - time1) + "ms");
        String.valueOf("1");

        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }


    static void m1(int i) {
        user user = new user();
    }

}

class user {


}